<?php

$config = include 'config.php';

$dev = array(
//    'DB_DEPLOY_TYPE' => 1, // 设置分布式数据库支持

    'DB_TYPE' => 'mysql', //分布式数据库类型必须相同
    'DB_HOST' => '127.0.0.1,127.0.0.1',
    'DB_NAME' => 'thinkphp', //如果相同可以不用定义多个
    'DB_USER' => 'user1,user2',
    'DB_PWD' => 'pwd1,pwd2',
    'DB_PORT' => '3306',
    'DB_PREFIX' => 'ge_',
);

return array_merge($config, $dev);